package com.ynny.chapter04.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class UserDTO extends User{

    private Integer pageNum;
    private Integer pageSize;


    @Override
    public String toString() {
        return "UserDTO{" +
                "super=" + super.toString() +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
